package com.zx.erp.market.service;

import com.github.pagehelper.PageInfo;
import com.zx.erp.market.bean.Orderdetails;
import com.zx.erp.market.bean.Orders;

import java.sql.Date;
import java.util.List;

public interface OrdersService {
    public PageInfo<Orders> findPageAll(Orders orders, List<Integer> cidList, Date dateMin, Date dateMax, Double priceMin, Double priceMax,Integer pageNum,Integer pageSize);

    public List<Orders> findAll(Orders orders);

    public Orders findBy(String orderid);

    public boolean editOrdersAndOrderDS(Orders orders, List<Orderdetails> oDerdetas);

    public boolean addOrders(Orders orders, List<Orderdetails> oDerdetas);

    public boolean editStatus(String orderid,Integer uid);

    public boolean editOrders(Orders orders);

    public boolean delOrders(String orderid);

    public List<Orders> findNotCkWOrderid();

    public PageInfo<Orders> findAllFZ(List<Integer> cidList1,List<Integer> cidList2, Date dateMin, Date dateMax,Integer pageNum,Integer pageSize);

}
